package com.crm.system.service.sys;

import com.crm.common.model.DhPageInfo;
import com.crm.model.entity.sys.permissionManagement.SysInvoiceCompanyInfo;
import com.crm.model.qo.sys.InvoiceCompanyInfoQO;
import com.crm.model.vo.sys.InvoiceCompanyInfoVO;

/**
 * @Author:chaifuyou
 * @Date: 2021/7/27 14:00
 */
public interface SysInvoiceCompanyInfoService {

    /**
     * 增加开票公司详情
     * @param invoiceCompanyInfo
     */
    void addInvoiceCompanyInfo(SysInvoiceCompanyInfo invoiceCompanyInfo);

    /**
     * 修改开票公司详情
     * @param invoiceCompanyInfo
     */
    void updateInvoiceCompanyInfo(SysInvoiceCompanyInfo invoiceCompanyInfo);

    /**
     * 分页查询公司详情列表
     * @param pageIndex
     * @param pageSize
     * @param invoiceCompanyInfoQO
     * @return
     */
    DhPageInfo<InvoiceCompanyInfoVO> selectInvoiceCompanyInfo(Integer pageIndex, Integer pageSize, InvoiceCompanyInfoQO invoiceCompanyInfoQO);

    /**
     * 删除公司详情
     * @param invoiceCompanyInfoId
     */
    void delInvoiceCompanyInfo(String invoiceCompanyInfoId);
}
